package top.ytazwc.normal;

import java.util.concurrent.TimeUnit;

/**
 * @author 花木凋零成兰
 * @title CacheService
 * @date 2024/4/28 16:21
 * @package top.ytazwc.normal
 * @description 改造的新缓存服务接口
 */
public interface CacheService {

    String get(final String key, int redisType);

    void set(String key, String value, int redisType);

    void set(String key, String value, long timeout, TimeUnit timeUnit, int redisType);

    void del(String key, int redisType);

}
